<div id="Breadcrumb" class="Breadcrumb">
    <ul>
        <li class="first">
            <a href="<?php echo base_url();?>">
                Trang chủ
            </a>
        </li>    
        <li>
            <span>Quản lý hóa đơn</span>
        </li>
            
    </ul>
</div>
<div class="Clear" ></div>	
    <div id="cphMain_Content">
        <div id="cphMain_ctl00_ContentPaneTop" class="top">
            <div class="Account-Module DefaultModule">
               <div id="cphMain_ctl00_ctl05_ctl00_Passport_SignIn" style="width:100%;">	
                <div id="LoginForm" class="DefaultModule LoginForm Block">
                        <div class="BlockContent">
                            <div class="FormAccountLogin">
                                <div class="defaultTitle LoginForm-title">
                                    <h1>
                                        Thống kê hóa đơn
                                    </h1>
                                </div>
                                <div class="defaultContent LoginForm-content">
                                    <div class=" cart cbox">
                                       <div class="cbox_header clearfix">
                                            <span class="cbox_bg_midd block left"></span>                
                                            </div>
                                            <div class="cbox_content clearfix">    
                                                <table>
                                                  <tr>
                                                  <th>Stt</th>
                                                  <th>Ngày gửi</th>
                                                  <th>Email đăng ký</th>
                                                  <th>Phone</th>
                                                  <th>Chi tiết</th>
                                                  <th>Xóa</th>
                                                  </tr>
                                                 <?php $i=0; foreach ($order  as $od){
                                                    $i++;
                                                    echo '
                                                        <tr>
                                                            <td>'.$i.'</td>
                                                            <td>Hóa đơn ngày: '.$od->created.'</td>
                                                            <td>'.$this->session->userdata('username').'</td>
                                                            <td>'.$user->phone.'</td>
                                                            <td><a href="'.base_url().'order-status/detail/'.$od->id.'">Xem chi tiết</a></td>
                                                            <td><a href="'.base_url().'order-status/remove/'.$od->id.'"><img src="'.base_url().'skin/images/xoa.png"/></a></td>
                                                      </tr>
                                                    ';
                                                 }?>
                                                  
                                                  <tr> <?php if(!empty($product)){echo $this->pagination->create_links();} ?></tr>
                                                  </table>
                                                  
                                                  
                                                  
                                      </div>   
                                    </div>
                                </div>
                                <div class="defaultFooter LoginForm-footer">
                                </div>
                            </div>
                        </div>
                        <br class="Clear" />
                    </div>
                
                </div>
                <div id="cphMain_ctl00_ctl05_ctl00_Passport_Reg">
                </div>
            
            </div>
        </div>
    </div>               
<style>
.cart table{
    border:1px solid #cacaca;
    width:100%;
}
.cart td{
    border:1px solid #cacaca;
    padding:4px;
    background-color:#FCF4E3;
    color:#2616FC;
    
}
.cart th{
   background-color:#FF1D00;
   color:#fff; 
}
.cart .qty{
    border:1px solid #cacaca;
    height:25px;
    line-height: 25px;
    margin:2px;
    background-color:#fff;
    padding-left:2px;
}
.cart .capnhatcart{
    cursor:pointer;
}
.thongke .tka{
    border:1px solid #cacaca;
    padding:5px;
    margin:5px;
    background:#D1D3C8;
    color:#082B33;
}
.thongke .tka:hover{
   color:#FF1111;
   text-decoration: none;
}
.cbox_content{
    padding:10px;
}
</style>